package com.app.terminal;

public class TerminalEmulator {
  private CommandExecutor commandExecutor;

  public TerminalEmulator() {
    commandExecutor = new CommandExecutor();
  }

  public String executeCommand(String command) {
    return commandExecutor.execute(command);
  }

  public void start() {
    // Logic to initialize and start the terminal emulator
    System.out.println("Terminal Emulator started. Type your commands:");
    // Here you would typically set up input handling and output display
  }
}